# -*- coding: utf-8 -*-
"""
@Time : 2024/3/1 8:35 PM
@Author: imamhusan
@Des: 基本配置文件
"""
import os
from dotenv import load_dotenv, find_dotenv


class Config:
    STATIC_DIR = os.path.join(os.getcwd(), 'static')
    TEMPLATE_DIR = os.path.join(STATIC_DIR, 'templates')
    JWT_ALGORITHM = "HS256"
    JWT_KEY = 'ozhasabcdef1028'
    JWT_EXPIRE_TIME = 60 * 60 * 24
    # 加载环境变量
    load_dotenv(find_dotenv(), override=True)


settings = Config()
